<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
use Illuminate\Http\Request;
Route::get('/', function () {
    return view('welcome');
});


Route::group(['namespace' => 'h5'], function () {
    include 'apiRoutes/web/h5.php';  //公司相关
});


Route::get("/test", "Web\IndexController@test");
/*
Route::get('/test', function () {
    return view('test');
});
*/


include_once('webRoutes/admin.php'); //后台路由

include_once ('webView/web.php');//注册页路由，